package com.galen.manual.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 用户管理查询DTO
 */
@Data
@Schema(description = "用户管理查询参数")
public class UserManageQueryDTO {

    @Schema(description = "页码", example = "1")
    private Integer pageNum = 1;

    @Schema(description = "每页大小", example = "10")
    private Integer pageSize = 10;

    @Schema(description = "关键词搜索（用户名、昵称、手机号）", example = "张三")
    private String keyword;

    @Schema(description = "用户状态：0-待审核，1-正常，2-冻结，3-黑名单", example = "1")
    private Integer status;

    @Schema(description = "用户等级：1-普通用户，2-高级用户，3-VIP用户", example = "1")
    private Integer userLevel;

    @Schema(description = "是否只查普通用户（排除管理员）", example = "true")
    private Boolean excludeAdmins = true;

    @Schema(description = "开始时间", example = "2023-01-01")
    private String startTime;

    @Schema(description = "结束时间", example = "2023-12-31")
    private String endTime;
}